<!-- 左侧导航-->
<div class="fixed_dh">
	<div class="f_r_top">
		<div class="top_i">
			<a href="#" class="userZhang">
			    <i class="icon_user"></i>
			</a>
			<?php if (!empty($_COOKIE['name'])){ ?>
				<?php echo $_COOKIE['name']; ?>
			<?php }else{ ?>
				<span>账号</span>
			<?php } ?>
		</div>
		<div class="f_line">
			<p class="f_line1"></p>
			<p class="f_line2"></p>
		</div>
		<div class="f_gwc">
			<a href="#" id="userGou">
				<i class="icon_car"></i>
			    <span>购物车</span>
			    <b class="car_num">0</b>
			</a>
		</div>
		<div class="f_line">
			<p class="f_line1"></p>
			<p class="f_line2"></p>
		</div>
		<!-- <div class="top_i"> -->
		    <!-- <i class="icon_collect"></i> -->
		    <!-- <span>收藏</span> -->
		<!-- </div> -->
	</div>
	<div class="f_bottom">
    	<div class="f_sao">
    		<!-- <div class="sao">
    		<i class="ewm_img"></i>
    		<div class="ewm_tc">
            <div class="ewm_tc_bg">
                <div class="down_app_icon"></div>
                <img src="__PUBLIC__/home/image/down_app_ewm.png">
            </div>
    		</div> -->
    	</div>
    	<div class="f_ke">
    		<!-- <i class="online_cus"></i> -->
    	</div>
    	<div class="top_is">
		    <a href="javascript:window.scrollTo( 0, 0 );">
		    	<i class="retrun_top"></i>
		    </a>
		</div>
    </div>
</div>
<!-- 左侧导航 -->
<script src="__PUBLIC__/home/js/jquery-1.7.2.min.js" type="text/javascript" charset="utf-8"></script>
<script src="__PUBLIC__/jquery.cookie.js" type="text/javascript" charset="utf-8"></script>
<script>
	$(document).on("click",".userZhang",function(){
		var name = $.cookie("name");
		if(name){
			window.location.href = "{:url('home/user/userindex')}"
		}else{
			var bool = confirm("您还未登陆，是否去登录");
			if(bool==true){
				window.location.href = "{:url('home/user/login')}"
			}
			return;
		}
	})
</script>